/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package uy.edu.ort.CentroEstudios.entidades;

import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.Id;

/**
 *
 * @author scirillo
 */
@Entity
public class Responsable implements Serializable {
    
    @Id
    private String idResponsable;
    private String emailResponsable;

    public String getIdResponsable() {
        return idResponsable;
    }

    public void setIdResponsable(String idResponsable) {
        this.idResponsable = idResponsable;
    }

    public void setEmailResponsable(String emailResponsable) {
        this.emailResponsable = emailResponsable;
    }

    public String getEmailResponsable() {
        return emailResponsable;
    }

    @Override
    public int hashCode() {
        int hash = 5;
        hash = 41 * hash + (this.idResponsable != null ? this.idResponsable.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final Responsable other = (Responsable) obj;
        if ((this.idResponsable == null) ? (other.idResponsable != null) : !this.idResponsable.equals(other.idResponsable)) {
            return false;
        }
        return true;
    }

    
    
    
}
